getModules

abstract fun getModules(): Iterator<out RevelControl>

Gets an iterator over the modules or content elements that are part of this template's structure.

These modules typically represent the dynamic zones or regions within the template that are populated with content (e.g., RevelControl instances).

Return

An Iterator that provides access to the RevelControl (or a similar module/zone interface) objects defined within this template. Returns an empty iterator if the template has no defined modules/zones, but should not return null.

See also